//
//  WeboTabBar.h
//  Weibo
//
//  Created by 千锋 on 15/12/29.
//  Copyright © 2015年 abc. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol WBTabBarDelegate <NSObject>

- (void)passIndex:(NSInteger)index;

@end

typedef void(^PassIndex)(NSInteger index);

typedef void(^PlubBtnPressedBlock)();

@interface WeboTabBar : UIView

// 用来传递title image等信息
@property (nonatomic,strong) UITabBarItem *tabBarItem;

@property (nonatomic,weak)id <WBTabBarDelegate> delegate;

// 传出标签选项的index
@property (nonatomic,copy) PassIndex passIndex;

//中间加号按钮点击的回调block
@property (nonatomic,copy) PlubBtnPressedBlock plubBlock;
@end
